﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunArts.EasyDevOps.Shared.Models.SshClient.KeepAlivedClient
{
    /// <summary>
    /// 通知脚本配置
    /// </summary>
    public class NotificationScripts
    {
        /// <summary>
        /// 成为MASTER时执行的脚本
        /// </summary>
        public string Master { get; set; }

        /// <summary>
        /// 成为BACKUP时执行的脚本
        /// </summary>
        public string Backup { get; set; }

        /// <summary>
        /// 进入FAULT状态时执行的脚本
        /// </summary>
        public string Fault { get; set; }

        /// <summary>
        /// 任意状态变化时执行的脚本
        /// </summary>
        public string Any { get; set; }
    }
}
